\name{geofd.viewer}
\alias{geofd.viewer}
\alias{geofd.viewer.okfd}
\title{
  Prediction results viewer
}
\description{
  This is functions implements a Tcl/Tk interface for showing okfd prediction results.
}
\usage{
  geofd.viewer(okfd.res, argnames=c("argument", "sites", "values"))
}
\arguments{
  \item{okfd.res}{
    Typically an output of the function okfd. See details for additional information.
  }
  \item{argnames}{
    A character vector of length three containing: the name of the argument (argvals), a description of the sites (coord), the name of the observed function values.
  }
}
\details{

  This viewer presents two frames, the left one presents the spatial distribution of the prediction sites. The right one presents the selected smoothed prediction curve based on the point clicked by the user on the left frame.

  \bold{The okfd.res parameter}

  Usually this parameter is the output of the function \code{\link{okfd}}, this output is a list with of some components. This function uses the following components:

  \itemize{
  \item{\code{argvals}, the unit measure of the functional variables. Dimensions: m x 1}
  \item{\code{krig.new.data}, are the observations of each functional variable. Dimensions: m x n }
  \item{\code{new.coords}, are the coordinates of the predicted sites. Dimensions: n x 2 }
  }

  Any object which contains this arguments is enabled for using the geofd viewer.

}
\references{
  Dynamic Graphics in R. Phil Spector. Statistical Computing Facility, UC Berkeley. February 12, 2009
}
\note{
  This viewer is a very straightforward and rudimentary way for desplaying the results, future work will include some Visualization techniques for high dimensional data which allows a deeper analysis of the results.
}
\author{
  Andres Perez \email{afperesm@unal.edu.co}.
}
\keyword{spatial}
\keyword{iplot}
